Calendar and Appointments Applet
================================

To use this Calendar applet, import the definition file and then import the data 
into the DMS:CalendarData form.  Note the following:

1. There are 2 versions of the def file - one uses a few version 4.5.1 features (disable 
change flag, table double-click etc.) and may not import onto an earlier version of Remedy 
server. The 4.0.3 version does not have these features.  Choose whichever is appropriate
for your system.

2. The Calendar is designed to be opened as a dialog with values passed to the following
fields:
        Language
        InputDate
	Name
	SelectedName

The button 'Calendar' on the DMS:Test form does this.

If the Calendar form is opened in a Search or New mode, there is an active link 
to populate these fields with English as the language and the current date as the 
input date.  

3. The Calendar data currently has weekday and month names for these languages:
      English
      French
      German
      Dutch
      Italian
      Spanish

To add more languages, simply add the extra language to the Language selection field in
both forms and create 20 records (7 days of the week, 13 months) in the DMS:CalendarData
form with the local language names.

4. The action performed when a date is clicked is performed by the active link 
DMS:Cal_SelectedDateAction which fires on the hidden button click on GoSelectedDate.  
To change what the calendar does, simply change this single active link.

5. To test the appointments calendar, open the form DMS:Test and click on the 'Calendar'
button.  Optionally, select a language to display dates in from the selection field.


I think this calendar will work with any database (it uses no direct SQL) and with any
date format in Regional settings.  If you have any problems, let me know.

David Sanders

27 November 2000

mail:  sandersd@globalnet.co.uk
web:   http://www.users.globalnet.co.uk/~sandersd



Changes
=======

28 November 2000 - added Scheduler403.def for pre-4.5.1 versions
                 - changed table field qualification in DMS:Calendar form table tblEvents to work
                   properly for appointments spanning multiple days
01 December 2000 - changed active links which check for overlapping appointments to work properly
                   for appointments spanning multiple days
02 December 2000 - added Day Up and Day Down buttons